Skip to content

Comments

add:Simulater#307

Open
HisaBoomboom wants to merge 1 commit intoenechange:masterfrom
HisaBoomboom:master
Open

add:Simulater#307
HisaBoomboom wants to merge 1 commit intoenechange:masterfrom
HisaBoomboom:master

Conversation

@HisaBoomboom
Copy link

Simulaterクラスを実装

@ghost
Copy link

ghost commented Mar 13, 2021

Sider detected 1 error and 2 warnings on analyzing the commit 618852f.

We recommend fixing them as possible by updating the dependencies, configuring the analysis tool, configuring sider.yml, turning off unused tools, and so on.

If you have problems or questions still, feel free to ask us via chat. 💬


You can turn off this notification if you don't want to receive it from now on.

Comment on lines +12 to +14
array_plan_info.push({"provider" => "東京電力エナジーパートナー", "plan_name" => "従量電灯B", "price" => 0})
array_plan_info.push({"provider" => "Loooop電気", "plan_name" => "おうちプラン", "price" => 0})
array_plan_info.push({"provider" => "東京ガス株式会社", "plan_name" => "ずっとも電気1", "price" => 0})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

この実装ですと、プランが追加されるごとに行を追加し、各メソッド内のロジックも修正しないといけないと思います。
CSVやJSONやYAMLなどを更新すればプログラムコードをいじらなくても良いように修正できますでしょうか?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants